<!DOCTYPE html>
<html lang="en"xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
    <!--<link rel="stylesheet" href="../../statics/css/login.css">-->
    <link rel="stylesheet" href="/css/login.css">
</head>
<body>
<div class="box">
<h2>教务管理系统</h2>
<form action="/login">
    <div class="inputBox">
        <input type="text" name="uaccount" required="required">
        <label>用户名</label>
    </div>
    <div class="inputBox">
        <input type="password" name="upassword" required="required">
        <label>密码</label>
    </div>
    <input type="submit" value="登录">
    <span style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)} "></span>
    <a href="/toRegister" th:text="注册"></a>
</form>
</div>
</body>
</html>
